import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'
import 'styles/iconfont.css'
import 'styles/reset.css'
import store from './store'


// if ('serviceWorker' in navigator) {
//   window.addEventListener('load', () => {
//     navigator.serviceWorker.register('/service-worker.js').then((res) => {
//       console.log('sssss')
//     }).catch((err) => {
//       console.log(err)
//     })
//   })
// }
Vue.config.productionTip = false
new Vue({
  render:h => h(App),
  router,
  store
}).$mount('#app')

